/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved.
 * Description: 封装dl接口函数的适配接口
 * Author: lzd
 * Create: 2020-06-1
 */

#ifndef HCCL_SRC_HCCLDL_H
#define HCCL_SRC_HCCLDL_H
#include <dlfcn.h>
#include <functional>
#include "base.h"

#ifdef __cplusplus
extern "C" {
#endif
void *HcclDlopen(const char *libName, int mode);
void *HcclDlsym(void *handle, const char *funcName);
int HcclDlclose(void *handle);
#ifdef __cplusplus
}  // extern "C"
#endif

#endif